//
// Created by kepeiyang on 2021/3/8.
//

#ifndef SERVICE_TASKBEAN_H
#define SERVICE_TASKBEAN_H

#include <iostream>
#include <string>
#include <list>

using std::string;
using std::list;

class TaskBean {
    string id;
    string name;
    string info;
    string type;
    string request;
    string item;
    string equipment;
    string exp;
    string yxb;
    string count;
    string yaopin;
    string lx;
    string lastTaskId;
    string skill;
public:

    TaskBean() {}

    const string &getName() const {
        return name;
    }

    void setName(const string &name) {
        TaskBean::name = name;
    }

    const string &getInfo() const {
        return info;
    }

    void setInfo(const string &info) {
        TaskBean::info = info;
    }

    const string &getId() const {
        return id;
    }

    void setId(const string &id) {
        TaskBean::id = id;
    }

    const string &getType() const {
        return type;
    }

    void setType(const string &type) {
        TaskBean::type = type;
    }

    const string &getRequest() const {
        return request;
    }

    void setRequest(const string &request) {
        TaskBean::request = request;
    }

    const string &getItem() const {
        return item;
    }

    void setItem(const string &item) {
        TaskBean::item = item;
    }

    const string &getEquipment() const {
        return equipment;
    }

    void setEquipment(const string &equipment) {
        TaskBean::equipment = equipment;
    }

    const string &getExp() const {
        return exp;
    }

    void setExp(const string &exp) {
        TaskBean::exp = exp;
    }

    const string &getYxb() const {
        return yxb;
    }

    void setYxb(const string &yxb) {
        TaskBean::yxb = yxb;
    }

    const string &getCount() const {
        return count;
    }

    void setCount(const string &count) {
        TaskBean::count = count;
    }

    const string &getYaopin() const {
        return yaopin;
    }

    void setYaopin(const string &yaopin) {
        TaskBean::yaopin = yaopin;
    }

    const string &getLx() const {
        return lx;
    }

    void setLx(const string &lx) {
        TaskBean::lx = lx;
    }

    const string &getLastTaskId() const {
        return lastTaskId;
    }

    void setLastTaskId(const string &lastTaskId) {
        TaskBean::lastTaskId = lastTaskId;
    }

    const string &getTaskSkill() const {
        return skill;
    }

    void setTaskSkill(const string &skill) {
        TaskBean::skill = skill;
    }

    string toString(){
        return "{"
            "\"id\":" + id +
            ", \"name\":\"" + name + "\""
            ", \"info\":" + info +
            ", \"type\":" + type +
            ", \"request\":\"" + request + "\""  +
            ", \"item\":\"" + item + "\""  +
            ", \"equipment\":\"" + equipment + "\""  +
            ", \"exp\":" + exp +
            ", \"yxb\":" + yxb +
            ", \"count\":" + count +
            ", \"yaopin\":\"" + yaopin + "\""  +
            ", \"lx\":" + lx +
            ",\"lastTaskId\":" + lastTaskId +
            ", \"skill\":\"" + skill + "\""  +
            "}";
    }
};


class PlayerTaskBean{
    string id;
    string name;
    string sid;
    string type;
    string request;
    string item;
    string equipment;
    string exp;
    string yxb;
    string status;
    string count;
    string nowcount;
    string yaopin;
    string data;
    string lx;
    string skill;

public:

    const string &getId() const {
        return id;
    }

    void setId(const string &id) {
        PlayerTaskBean::id = id;
    }

    const string &getName() const {
        return name;
    }

    void setName(const string &name) {
        PlayerTaskBean::name = name;
    }

    const string &getSid() const {
        return sid;
    }

    void setSid(const string &sid) {
        PlayerTaskBean::sid = sid;
    }

    const string &getType() const {
        return type;
    }

    void setType(const string &type) {
        PlayerTaskBean::type = type;
    }

    const string &getRequest() const {
        return request;
    }

    void setRequest(const string &request) {
        PlayerTaskBean::request = request;
    }

    const string &getItem() const {
        return item;
    }

    void setItem(const string &item) {
        PlayerTaskBean::item = item;
    }

    const string &getEquipment() const {
        return equipment;
    }

    void setEquipment(const string &equipment) {
        PlayerTaskBean::equipment = equipment;
    }

    const string &getExp() const {
        return exp;
    }

    void setExp(const string &exp) {
        PlayerTaskBean::exp = exp;
    }

    const string &getYxb() const {
        return yxb;
    }

    void setYxb(const string &yxb) {
        PlayerTaskBean::yxb = yxb;
    }

    const string &getStatus() const {
        return status;
    }

    void setStatus(const string &status) {
        PlayerTaskBean::status = status;
    }

    const string &getCount() const {
        return count;
    }

    void setCount(const string &count) {
        PlayerTaskBean::count = count;
    }

    const string &getNowcount() const {
        return nowcount;
    }

    void setNowcount(const string &nowcount) {
        PlayerTaskBean::nowcount = nowcount;
    }

    const string &getYaopin() const {
        return yaopin;
    }

    void setYaopin(const string &yaopin) {
        PlayerTaskBean::yaopin = yaopin;
    }

    const string &getData() const {
        return data;
    }

    void setData(const string &data) {
        PlayerTaskBean::data = data;
    }

    const string &getLx() const {
        return lx;
    }

    void setLx(const string &lx) {
        PlayerTaskBean::lx = lx;
    }

    const string &getSkill() const {
        return skill;
    }

    void setSkill(const string &lastTaskId) {
        PlayerTaskBean::skill = lastTaskId;
    }

    string toString(){
        return "{"
            "\"id\":" + id +
            ", \"name\":\"" + name + "\""
            //", \"sid\":\"" + sid + "\""
            ", \"type\":" + type +
            ", \"request\":\"" + request + "\""  +
                ", \"item\":\"" + item + "\"" +
                ", \"equipment\":" + equipment +
                ", \"exp\":" + exp +
                ", \"yxb\":" + yxb +
                ", \"status\":" + status +
                ", \"count\":" + count +
                ", \"nowCount\":" + nowcount +
                ", \"yaopin\":\"" + yaopin + "\"" +
                ", \"data\":\"" + data + "\"" +
                ", \"lx\":" + lx +
                ",\"skill\":" + skill +
                "}";
    }

};

#endif //SERVICE_TASKBEAN_H
